<div class="footer"><p>ISUX 前端开发 &copy; Tencent</p></div>
<?php if ($logined) { ?>
<div class="pop-common" id="pop-edit">
    <div class="pop-inner">
        <a href="javascript:void(0)" class="close" id="edit-close">X</a>
        <div class="bd">
            <form id="editForm" name="regForm" action="login.php" method="post">
                <fieldset>
                    <p>
                        <label for="reguname">RTX ID：</label>
                        <input title="用于注册者身份认证及以后登录使用，不可修改" type="text" class="login-input" value="<?php echo $user['uname']; ?>" disabled>
                    </p>
                    <p>
                        <label for="regupass">密码：</label>
                        <input title="设定用于登录的密码，不修改请留空" id="editupass" name="upass" type="password" class="login-input" value="" autocomplete="off">
                    </p>
                    <p>
                        <label for="regrepass">确认密码：</label>
                        <input title="再次输入相同的密码，不修改请留空" id="editrepass" name="repass" type="password" class="login-input" value="" autocomplete="off">
                    </p>
                    <p>
                        <label for="regnickname">显示昵称：</label>
                        <input title="在页面上显示的昵称" id="editnickname" name="nickname" type="text" class="login-input" value="<?php echo $user['nickname']; ?>">
                    </p>
                    <p>
                        <label for="regemail">Email（gravatar头像）：</label>
                        <input title="输入你绑定了gravatar头像的email" id="editemail" name="email" type="text" class="login-input" value="<?php echo $user['email']; ?>">
                    </p>
                    <p>
                        <label for="regurl">个人主页：</label>
                        <input title="输入你的个人主页或博客地址" id="editurl" name="url" type="text" class="login-input" value="<?php echo $user['url']; ?>">
                    </p>
                    <p class="submit">
                        <input type="submit" id="edit-submit" class="btn" value="保存">
                    </p>
                </fieldset>
            </form>
        </div>
    </div>
</div>
<?php } else { ?>

<div class="pop-common" id="pop-login">
    <div class="pop-inner">
        <a href="javascript:void(0)" class="close" id="login-close">X</a>
        <div class="bd">
            <form id="loginForm" name="loginForm" action="login.php" method="post">
                <fieldset>
                    <p>
                        <label for="uname">RTX ID：</label>
                        <input id="uname" name="uname" type="text" class="login-input">
                    </p>
                    <p>
                        <label for="upass">密码：</label>
                        <input id="upass" name="upass" type="password" class="login-input">
                    </p>
                    <p class="rememberme">
                        <input type="checkbox" id="rememberme" name="rememberme" value="forever">
                        <label for="rememberme">记住我的登录信息</label>
                    </p>
                    <p class="submit">
                        <input type="submit" id="login-submit" class="btn" value="登录">
                    </p>
                </fieldset>
            </form>
        </div>
    </div>
</div>

<div class="pop-common" id="pop-reg">
    <div class="pop-inner">
        <a href="javascript:void(0)" class="close" id="reg-close">X</a>
        <div class="bd">
            <form id="regForm" name="regForm" action="login.php" method="post">
                <fieldset>
                    <p>
                        <label for="reguname">RTX ID：</label>
                        <input title="输入你的RTX ID，用于注册者身份认证及以后登录使用" id="reguname" name="uname" type="text" class="login-input" placeholder="ponyma">
                    </p>
                    <p>
                        <label for="regupass">密码：</label>
                        <input title="设定用于登录的密码" id="regupass" name="upass" type="password" class="login-input" autocomplete="off">
                    </p>
                    <p>
                        <label for="regrepass">确认密码：</label>
                        <input title="再次输入相同的密码" id="regrepass" name="repass" type="password" class="login-input" autocomplete="off">
                    </p>
                    <p>
                        <label for="regnickname">显示昵称：</label>
                        <input title="在页面上显示的昵称" id="regnickname" name="nickname" type="text" class="login-input" placeholder="">
                    </p>
                    <p>
                        <label for="regemail">Email（gravatar头像）：</label>
                        <input title="输入你绑定了gravatar头像的email" id="regemail" name="email" type="text" class="login-input" placeholder="@">
                    </p>
                    <p>
                        <label for="regurl">个人主页：</label>
                        <input title="输入你的个人主页或博客地址" id="regurl" name="url" type="text" class="login-input" placeholder="http://">
                    </p>
                    <p class="submit">
                        <input type="submit" id="reg-submit" class="btn" value="注册">
                    </p>
                </fieldset>
            </form>
        </div>
    </div>
</div>
<?php } ?>
<script type="text/javascript" src="<?php echo $sitePath; ?>js/jquery-1.6.4.min.js?v=20111209001"></script>